



<div class="modal-header">
    <h4 class="modal-title">上级</h4>
</div>
<div class="modal-body">

<table class="table table-condensed table-hover table-bordered">
    <thead>
        <tr>
            <th class="col-md-2 text-center">头像</th>
            <th class="col-md-6 text-center">昵称</th>
            <th class="col-md-4 text-center">操作</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td class="text-center">
                <img ng-src="{{up.headimgurl}}" ng-model="up.headimgurl" class="img-responsive" style="border-radius:100px;">
            </td>
            <td class="text-center">
                {{up.nickname}}
            </td>
            <td class="text-center">
                <!-- <a ng-click="info(up.code)" class="btn btn-success btn-xs">查看</a> -->
            </td>
        </tr>
    </tbody>
</table>

</div>

<hr>

<div class="modal-header">
    <h4 class="modal-title">下级</h4>
</div>
<div class="modal-body">

<table class="table table-condensed table-hover table-bordered">
    <thead>
        <tr>
            <th class="col-md-2 text-center">头像</th>
            <th class="col-md-6 text-center">昵称</th>
            <th class="col-md-4 text-center">操作</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="obj in downs">
            <td class="text-center">
                <img ng-src="{{obj.headimgurl}}" ng-model="obj.headimgurl" class="img-responsive" style="border-radius:100px;">
            </td>
            <td class="text-center">
                {{obj.nickname}}
            </td>
            <td class="text-center">
                <a ng-click="orderlist(obj)" class="btn btn-info btn-xs">查看订单</a>
                <a ng-click="statistics(obj)" class="btn btn-success btn-xs">销售统计</a>
            </td>
        </tr>
    </tbody>
</table>
<div class="text-right">
     <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
        first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
        class="m-t-none m-b">
    </pagination>
</div>

</div>




<div class="modal-footer">
    <!-- <button class="btn btn-primary" type="button" ng-click="gogo()">保存</button> -->
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>



